<template>
	<view class="bg-box" @click="goNavigation">
		<!-- <cu-custom bgColor="bg-my" :isBack="false">
			<block slot="content">首页</block>
		</cu-custom> -->
		<image src="http://oss.91xiaokong.com/fireControl/index.gif">
			<view class="">
				<text style="z-index: 1;color: #FFFFFF;position: absolute;bottom: 50rpx;left: 42%;font-size: 22rpx;">{{getDateByYearMonth}}</text>
			</view>
	</view>

</template>

<script>
	import {
		request,
		ossUrl
	} from '../util/ajax.js'
	import {
		changeLastPage,
		checkPageLogin,
		checkPerms,
		getDateByYearMonth
	} from '../util/utils.js';
	import {
		mapState,
		mapMutations,
		mapGetters
	} from 'vuex';
	export default {
		data() {
			return {
				ossUrl: ossUrl,
				title: 'Hello',
				getDateByYearMonth:getDateByYearMonth().fullDate

			}
		},
		computed: {
			...mapState(['userInfo', 'sysUser', 'sysMenus']),

		},
		onLoad() {

		},
		onShow() {

		},
		methods: {
			goNavigation() {
				console.log(111)
				uni.navigateTo({
					url: '/pages/navigation/navigation'
				})
			}
		}
	}
</script>

<style scoped>
	.bg-box {
		width: 100%;
		height: 100%;
		position: absolute;
		z-index: 100;
	}

	.bg-box image {
		width: 100%;
		height: 100%;
	}
</style>
